import { Router } from 'express';
import { authenticate } from '#src/middleware/authMiddleware.js';
import {UserController} from '#src/module/user/controller/UserController.js';

const router = Router();

router.use(authenticate);

router.get('/logout', authenticate, UserController.logout);
router.get('/getUser', authenticate, UserController.getUser);

export default router;
